package com.yonyou.cyxdms.sysAuth.service.mapper;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.entity.TrOrgPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 组织关系表 Mapper 接口
 * </p>
 *
 * @author maxingjian
 * @since 2019-08-29
 */
public interface TrOrgMapper extends SuperMapper<TrOrgPO> {

    void deleteSaleArea(@Param("orgId") Long orgId, @Param("parentIds") List<Long> parentIds);

    List<Long> findSaleArea(@Param("orgId") Long orgId);
}
